package com.base.test.mutual.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.ArrayList;
import java.util.List;

/**
 *
 */
@Data
@ConfigurationProperties(prefix ="bsc.mutual")
public class BscProperties {

    private String url;

    private String phpUrl;

    private String language;

    private String routesGetAccessToken;

    /**
     * 对应BSC多系统配置
     */
    private List<SysConfig> sysConfigs = new ArrayList<>();

    @Data
    public static class SysConfig {

        private String appId;

        private String appKey;

        private String sysCode;
    }

}
